- Title
- Diversity maximization speedup for localizing faults in single-fault and multi-fault programs
- Creator
- Xia, Xin; Gong, Liang; Le, Tien-Duy B.; Lo, David; Jiang, Lingxiao; Zhang, Hongyu
- Relation
- Automated Software Engineering Vol. 23, Issue 1, p. 43-75
- Publisher Link
- http://dx.doi.org/10.1007/s10515-014-0165-z
- Publisher
- Springer US
- Resource Type
- journal article
- Date
- 2016
- Description
- Fault localization is useful for reducing debugging effort. Such techniques require test cases with oracles, which can determine whether a program behaves correctly for every test input. Although most fault localization techniques can localize faults relatively accurately even with a small number of test cases, choosing the right test cases and creating oracles for them are not easy. Test oracle creation is expensive because it can take much manual labeling effort (i.e., effort needed to decide whether the test cases pass or fail). Given a number of test cases to be executed, it is challenging to minimize the number of test cases requiring manual labeling and in the meantime achieve good fault localization accuracy. To address this challenge, this paper presents a novel test case selection strategy based on Diversity Maximization Speedup (Dms). Dms orders a set of unlabeled test cases in a way that maximizes the effectiveness of a fault localization technique. Developers are only expected to label a much smaller number of test cases along this ordering to achieve good fault localization results. We evaluate the performance of Dms on 2 different types of programs, single-fault and multi-fault programs. Our experiments with 411 faults from the Software-artifact Infrastructure Repository show (1) that Dms can help existing fault localization techniques to achieve comparable accuracy with on average 67 and 6 % fewer labeled test cases than previously best test case prioritization techniques for single-fault and multi-fault programs, and (2) that given a labeling budget (i.e., a fixed number of labeled test cases), Dms can help existing fault localization techniques reduce their debugging cost (in terms of the amount of code needed to be inspected to locate faults). We conduct hypothesis test and show that the saving of the debugging cost we achieve for the real C programs are statistically significant.
- Subject
- fault localization; test case prioritization; single-fault program; multi-fault program
- Identifier
- http://hdl.handle.net/1959.13/1356067
- Identifier
- uon:31602
- Identifier
- ISSN:0928-8910
- Language
- eng
- Reviewed
- Hits: 4949
- Visitors: 4869
- Downloads: 0
Thumbnail | File | Description | Size | Format |
---|